import styles from './index.css';
import Link from 'umi/link';
import obj from '../../.umirc.js'
console.log(obj,'1111')


export default function() {
  return (
    <div className={styles.normal}>
      {/* <div className={styles.welcome} /> */}
      <ul className={styles.list}>
        {/* <li>To get started, edit <code>src/pages/index.js</code> and save to reload.</li>
        <li>
          <a href="https://umijs.org/guide/getting-started.html">
            Getting Started
          </a>
        </li> */}
        {obj.routes[0].routes.map(item=><Link to={item.path}>{item.name}<br/></Link>)}
      </ul>
    </div>
  );
}
